//package com.sq.api;
//
//import com.sq.entity.User;
//import com.sq.service.IUserService;
//import io.swagger.annotations.Api;
//import lombok.RequiredArgsConstructor;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.util.List;
//
//@Api(tags = "注册")
//@RestController
//@RequestMapping(value = "register")
//@RequiredArgsConstructor(onConstructor_ = {@Autowired})
//public class RegisterApi {
//
//    private final IUserService userService;
//
//    @GetMapping(value = "list")
//    public List<User> list(){
//        return userService.list();
//    }
//
//}
